github actions: Add GitHub action to publish to PyPI #396
github actions: Add GitHub action to publish to PyPI #396
Conversation
Requires adding long_description to setup.py to make the checks pass.
Would be nice to have something to check the tag is a version number format - we don't currently use tags for anything else, but I'm just thinking of safeguards. It would be easy for someone to forget this existed and just use a tag for something else. |
|
Also just noticed differences between test and real publishing sections. I think the intention is that as soon as a commit with a new version is done, that will be published to test site. We can then test? Then only when we approve, merge and tag, does it go on real one. Is that correct? Does this (and skip_existing) mean if a PR with a new version is rejected due to a problem and a new PR is made, the new PR won't be put on test site? (Does that matter?) Can all this be (intention, procedure, what/how we test) be written up somewhere? |
|
This is the same as what we do (https://ocp-software-handbook.readthedocs.io/en/latest/python/packages.html#release-process). Every single push ( |
No description provided.